import request from '@/utils/request'
/**
 *
 * @param {*} data
 */
export function reqLogin(data) {
  return request({
    method: 'post',
    url: '/sys/login',
    data
  })
}

export const reqGetUserInfo = () => request({
  url: '/sys/profile',
  method: 'post'
})

export const reqGetUserDetailById = id => request({
  method: 'get',
  url: `/sys/user/${id}`
})
export function logout() {

}
